<template>
    <div class="address-warning">
        <div class="address-early-warning">地址异常预警</div>
        <div style="padding: 20px 16px;background-color: #fff">
            <lar-table
                    model="express.order"
                    canAdd="canAdd"
                    action="base.table.address_warning"
                    class="border">
                <div slot="addressWarning" class="address-warning-slot" slot-scope="data">
                    <span style="font-size: 16px;padding-right: 20px">搜索结果</span>
                    <span style="font-size: 13px;padding-right: 20px">共 <span style="color: #009688">{{data.data.totalNum}}</span> 条数据符合条件</span>
                </div>
            </lar-table>
        </div>
    </div>
</template>
<script>
    export default {
        data() {
            return {
                activeName2: 'first',
                radio3: '车辆预警'
            }
        },
        mounted() {
            let data = {
                order_abnormal: {
                    value: '1',
                    searchModel: "equal"
                }
            };
            this.$store.commit('pipe', {'value': data, 'name': 'express.order.table'});
        },
        methods: {
            handleClick(tab, event) {
                console.log(tab, event);
            }
        }
    }
</script>
<style lang="less" >
    .address-warning{
        margin: 10px;
        /*padding: 10px;*/
        background-color: #fff;
        .address-early-warning{
            box-sizing: border-box;
            font-size: 16px;
            padding:6px 0 6px 16px;
            border-bottom: 2px solid #eee;
            background-color: #fff;
        }
        .address-warning-slot{
            padding-bottom: 24px;
        }
    }
</style>

